1bashThis demonstrates character translation using the tr command in Bash, replacing specified characters with others.echo "Hello" | tr 'el' 'x' #Result: Hxxxo echo "Hello" | tr 'el' 'ay' #Result: Hayyoexternal toolstrcharacter translation
2bashThis demonstrates converting text to uppercase using the tr command.echo "Welcome To Devhints" | tr '[:lower:]' '[:upper:]' #WELCOME TO DEVHINTSexternal toolstrcharacter translationcase conversion